package org.example.demo3;/*
 *@ 代阳敲的专属代码
 **/

public enum Season {
    SEASON("春天","春暖花开"),
    SUMMER("夏天","夏日炎炎"),
    AUTUMN("秋天","秋高气爽"),
    WINTER("冬天","冰雪消融"),
    SS();

    private String name;
    private String desc;
    private Season(String name, String desc) {
        this.name = name;
        this.desc = desc;

    }
    private Season(){

    }
    public String getName() {
        return name;
    }
    public String getDesc() {
        return desc;
    }
    @Override
    public String toString() {
        return "Season{" +
                "name='" + name + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }
}
